package com.ssh.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer userId;
	private Role role;
	private String userAccount;
	private String userPassword;
	private Integer userGender;
	private String userAddr;
	private Timestamp userBrithday;
	private Set outputlists = new HashSet(0);
	private Set logins = new HashSet(0);
	private Set incomelists = new HashSet(0);
	private Set connectlists = new HashSet(0);
	private Set goodses = new HashSet(0);

	// Constructors

	/** default constructor */
	public User() {
	}

	/** full constructor */
	public User(Role role, String userAccount, String userPassword,
			Integer userGender, String userAddr, Timestamp userBrithday,
			Set outputlists, Set logins, Set incomelists, Set connectlists,
			Set goodses) {
		this.role = role;
		this.userAccount = userAccount;
		this.userPassword = userPassword;
		this.userGender = userGender;
		this.userAddr = userAddr;
		this.userBrithday = userBrithday;
		this.outputlists = outputlists;
		this.logins = logins;
		this.incomelists = incomelists;
		this.connectlists = connectlists;
		this.goodses = goodses;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Role getRole() {
		return this.role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	public String getUserAccount() {
		return this.userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getUserPassword() {
		return this.userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public Integer getUserGender() {
		return this.userGender;
	}

	public void setUserGender(Integer userGender) {
		this.userGender = userGender;
	}

	public String getUserAddr() {
		return this.userAddr;
	}

	public void setUserAddr(String userAddr) {
		this.userAddr = userAddr;
	}

	public Timestamp getUserBrithday() {
		return this.userBrithday;
	}

	public void setUserBrithday(Timestamp userBrithday) {
		this.userBrithday = userBrithday;
	}

	public Set getOutputlists() {
		return this.outputlists;
	}

	public void setOutputlists(Set outputlists) {
		this.outputlists = outputlists;
	}

	public Set getLogins() {
		return this.logins;
	}

	public void setLogins(Set logins) {
		this.logins = logins;
	}

	public Set getIncomelists() {
		return this.incomelists;
	}

	public void setIncomelists(Set incomelists) {
		this.incomelists = incomelists;
	}

	public Set getConnectlists() {
		return this.connectlists;
	}

	public void setConnectlists(Set connectlists) {
		this.connectlists = connectlists;
	}

	public Set getGoodses() {
		return this.goodses;
	}

	public void setGoodses(Set goodses) {
		this.goodses = goodses;
	}

}